package cn.growthgate.fgo.entity.vo;

import java.util.Date;
import java.util.Map;

import cn.growthgate.fgo.common.base.BaseVo;
import cn.growthgate.fgo.entity.ExceptionLog;
import cn.growthgate.fgo.entity.User;

public class ExceptionLogVo extends BaseVo<ExceptionLog> {

	/**
	 * 主键id
	 */
	private Long id;

	/**
	 * 用户
	 */
	private User user;

	/**
	 * 操作主机
	 */
	private String host;

	/**
	 * 访问路径
	 */
	private String uri;

	/**
	 * 访问参数
	 */
	private Map<String, String[]> params;

	/**
	 * 异常类名称
	 */
	private String name;

	/**
	 * 堆栈追踪
	 */
	private String stackTrace;

	/**
	 * 发生时间
	 */
	private Date addTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public String getUri() {
		return uri;
	}

	public void setUri(String uri) {
		this.uri = uri;
	}

	public Map<String, String[]> getParams() {
		return params;
	}

	public void setParams(Map<String, String[]> params) {
		this.params = params;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStackTrace() {
		return stackTrace;
	}

	public void setStackTrace(String stackTrace) {
		this.stackTrace = stackTrace;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

}
